//
//  DFPageHeadView.h
//  Pods
//
//  Created by rujia chen on 17/4/12.
//
//

#import <UIKit/UIKit.h>

@interface DFPageHeadView : UIView

@property (nonatomic, assign) UIEdgeInsets insets;

@property (nonatomic, strong) NSMutableArray <NSString *> *titles;

@property (nonatomic, assign) CGFloat titleButtonSpacing;

@property (nonatomic, assign) CGFloat scrollBufferLength; // default 80

@property (nonatomic, strong) UIColor *titleColor;

@property (nonatomic, strong) UIColor *barTintColor;

@property (nonatomic, strong) UIView *indicatorView;

@property (nonatomic, strong) UIVisualEffect *backgroundVisulEffect;

@property (nonatomic, copy) void(^tabClickBlock)(NSInteger index);

- (void)setIndex:(NSInteger)index animated:(BOOL)animated;

@property (nonatomic, strong) UIToolbar *backgroundView;

@end
